@import 'variables';
@import 'mixin';
@import 'transition';
@import 'element-ui';
@import 'sidebar';
@import "table";
@import "form";
@import 'data-view';
@import "cover";

html {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.app-container {
  padding: 20px;
}

.handle-container {
  padding-bottom: 10px;

  .handle-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

.handle-query {
  padding-bottom: 10px;
  float: right;

  .handle-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

::-webkit-scrollbar {
  height: 5px;
  width: 5px;
  background-color: #909090;
}

::-webkit-scrollbar-thumb {
  background-color: #909090;
}

::-webkit-scrollbar-track {
  background-color: #F5F5F5;
}

.button-primary {
  color: #606266;
}

.button-danger {
  color: #F56C6C;
}

.btn, btn—icon {
  display: inline-block;
  border-width: 0;
  padding: 7px 14px;
  height: 34px;
  font-size: 14px;
  outline: none !important;
  vertical-align: middle;
  background-image: none !important;
  filter: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  text-shadow: none;
}

.left-l {
  font-size: 18px;
  float: left !important;
}

.right-f {
  float: right !important;
}

body .el-table th.gutter {
  display: table-cell !important;
}

.form-section {
  background-color: #ffffff;
  height: 404px;
  width: 320px;

  .login-tabs {
    padding-top: 11px;

    .el-tabs__header {

      .el-tabs__nav {
        float: none !important;
        width: 100% !important;

        .el-tabs__active-bar {
          width: 50% !important;
        }

        .el-tabs__item {
          width: 50% !important;
          text-align: center !important;
          font-family: PingFangSC-Regular;
          font-size: 14px;
        }

        .el-tabs__content {
          .el-form {
            padding-top: 10px;

            .el-form-item__label {
              padding: 0 10px 0 0 !important;
            }
          }

          .el-collapse {
            border-bottom: none !important;

            .el-collapse-item {
              .el-collapse-item__header {
                padding-left: 15px;
                background-color: #f2f2f2;
                border-bottom: 1px solid #e2e2e2;
              }

              .el-collapse-item__content {
                padding-bottom: 10px !important;

                .el-form {
                  padding-top: 10px;

                  .el-form-item__label {
                    padding: 0 10px 0 0 !important;
                  }
                }

                .el-button {
                  width: 60%;
                  margin-top: 10px;
                  margin-bottom: 10px;
                  margin-left: 20%;
                }
              }
            }

            .el-button--danger {
              width: 60%;
              margin-top: 10px;
              margin-bottom: 10px;
              margin-left: 20%;
            }
          }
        }
      }
    }
  }
}

.menu-wrapper {
  .el-menu-item.is-active {
    background-color: #091019 !important;
  }
}

.authority-error-box {
  vertical-align: top;
  padding-bottom: 15px;
  margin-top: 25px;

  .el-message-box__header {
    padding: 10px;
  }

  .el-message-box__content {
    padding: 10px 25px;
  }

  .el-message-box__btns {
    padding: 0 15px;

    .el-button--primary {
      padding: 6px 10px;
    }
  }
}

/*
table{
  margin: 10px 0;
  text-align: center;
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  font-size: 14px;
  font-family: 微软雅黑;
}
table,table th,table td{
  height: 40px;
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
}
tbody{
  color: #606266
}
thead{
  color: #909399;
}
*/
